class Employee {
  int id;
  String employeeId;
  String avatar;
  String name;

  static Employee formMap(Map<String, dynamic> map) {
    Employee employee = Employee();
    employee.id = map['id'];
    employee.employeeId = map['employeeId'];
    employee.name = map['name'];
    employee.avatar = map['avatar'];
    return employee;
  }
}
